package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Major;
import com.ruoyi.system.domain.SubMajor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubMajorMapper {

    //搜索查询功能
    List<SubMajor> selectSubMajorList(SubMajor major);

    //添加专业功能
    int insertSubMajor(SubMajor major);

    //批量删除专业功能
    int deleteSubMajor(SubMajor major);

    int updateSubMajor(SubMajor major);

    List<SubMajor> selectPostList(SubMajor major);
}
